package com.syh.jn.scm.infrastructure.repository.model.base.goods;


import com.syh.core.ddd.infrastructure.repository.model.SuperBusinessModel;
import lombok.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 商品品牌
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Entity
@Table(name = "T_BASE_GOODS_BRAND")
@EqualsAndHashCode(callSuper = true)
public class GoodsBrandModel extends SuperBusinessModel {
  /**
   * 品牌名称
   */
  @Column(name = "NAME", columnDefinition = "varchar(50) COMMENT '品牌名称'")
  private String name;
  /**
   * 状态(1:可用 -1:不可用)
   */
  @Column(name = "STATUS", columnDefinition = "smallint COMMENT '状态(1:可用 -1:不可用)'")
  private Short status;
  /**
   * 排序等级
   */
  @Column(name = "ORDER_LEVEL", columnDefinition = "int COMMENT '排序等级'")
  private Integer orderLevel;
  /**
   * 创建日期
   */
  @Column(name = "CREATE_TIME_STAMP", columnDefinition = "bigint COMMENT '创建日期'")
  private Long createTimeStamp;
}
